package com.dv.driverless.service;

import java.util.List;

import com.dv.driverless.domain.EquipmentFence;

/**
 * 安全围栏Service接口
 * 
 * @author ruoyi
 * @date 2023-04-06
 */
public interface IEquipmentFenceService 
{
    /**
     * 查询安全围栏
     * 
     * @param id 安全围栏主键
     * @return 安全围栏
     */
    public EquipmentFence selectEquipmentFenceById(Long id);

    /**
     * 查询安全围栏列表
     * 
     * @param equipmentFence 安全围栏
     * @return 安全围栏集合
     */
    public List<EquipmentFence> selectEquipmentFenceList(EquipmentFence equipmentFence);

    /**
     * 新增安全围栏
     * 
     * @param equipmentFence 安全围栏
     * @return 结果
     */
    public int insertEquipmentFence(EquipmentFence equipmentFence);

    /**
     * 修改安全围栏
     * 
     * @param equipmentFence 安全围栏
     * @return 结果
     */
    public int updateEquipmentFence(EquipmentFence equipmentFence);

    /**
     * 批量删除安全围栏
     * 
     * @param ids 需要删除的安全围栏主键集合
     * @return 结果
     */
    public int deleteEquipmentFenceByIds(Long[] ids);

    /**
     * 删除安全围栏信息
     * 
     * @param id 安全围栏主键
     * @return 结果
     */
    public int deleteEquipmentFenceById(Long id);

    /**
     * 修改安全围栏状态
     *
     * @param equipmentFence
     * @return 结果
     */
    int changeEquipmentFence(EquipmentFence equipmentFence);
}
